home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Agent Central Host Computer
/
Agent - Central Host Computer.iso
/
_SETUP.1
/
opsecurities.sql
< prev
next >
Wrap
Text File
|
2000-05-12
|
996b
|
25 lines
/* RCSVER $Id: opsecurities.sql,v 1.2 1999-02-24 14:58:19-06 randy CURRENT $ */
/* *************************************************************************
* Copyright (C) 1999, Agent Systems, Inc. All Rights Reserved.
*
* Name: opsecurities.sql
* Date: 02/17/1999
* memo: Randy Wood
* Description: Create the opsecurities table.
* Changes:
************************************************************************* */
CREATE TABLE opsecurities
(
op_type NUMBER(38) /* type of operator */
CONSTRAINT ref1_opsecurities REFERENCES optypes(op_type)
ON DELETE CASCADE,
subsys_id NUMBER(38) /* subsystem involved */
CONSTRAINT ref2_opsecurities REFERENCES subsystems(id)
ON DELETE CASCADE,
security_level NUMBER(38), /* security level to associate */
CONSTRAINT fk_opsecurities FOREIGN KEY (subsys_id, security_level)
REFERENCES subsecurities(subsys_id, sec_level)
ON DELETE CASCADE,
CONSTRAINT pk_opsecurities PRIMARY KEY (op_type, subsys_id)
);